﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />


<div class="modal-dialog x-modal-dialog" style="width: 600px; margin-top: 150px;">

  <div class="modal-content">

    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal">
        <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
      </button>
      <h4 class="modal-title">Administrator&nbsp;-&nbsp;Delete</h4>
    </div>

    <form class="form-horizontal" method="POST" action="${ctx.host}/administrators/${id}" data-validate="true">

      <input type="hidden" name="_method" value="DELETE" />
      
      <div class="modal-body">
        <p class="confirm">Confirm?</p>
      </div>
      
      <div class="modal-footer">
        <button type="submit" class="btn btn-success btn-shadow btn-shadow-success x-btn">Yes</button>&nbsp;&nbsp;&nbsp;&nbsp;
        <button type="button" class="btn btn-default btn-shadow btn-shadow-default x-btn" data-dismiss="modal">No</button>
      </div>

    </form>

  </div>

</div>